package com.cyj.crm02.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyj.crm02.entity.Customer;
import com.cyj.crm02.pojo.CustomerVo;
import org.springframework.stereotype.Repository;

@Repository
public interface CustomerMapper extends BaseMapper<Customer> {
    IPage<CustomerVo> selectCustomerList(Page<CustomerVo> page);

    IPage<CustomerVo> selectCustomerListByEmployeeId(Page<CustomerVo> page,Integer employeeId);
}
